package aenbike.main.model.entities;

import com.desandroid.framework.ada.Entity;
import com.desandroid.framework.ada.annotations.Table;
import com.desandroid.framework.ada.annotations.TableField;

/**
 * 
 * @author mario
 * Relationship betwen points and route
 */

@Table(name="tBelongs")
public class Belongs extends Entity{


	@TableField(name = "point1", datatype = DATATYPE_ENTITY_REFERENCE, isPrimaryKey = true)
	public Point point1;
	
	@TableField(name = "point2", datatype = DATATYPE_ENTITY_REFERENCE, isPrimaryKey = true)
	public Point point2;
	
	@TableField(name = "routePoint", datatype = DATATYPE_ENTITY_REFERENCE, isPrimaryKey = true)
	public Route Routepoint;
}